package IBBB.view;

import javafx.fxml.FXML;
import javafx.scene.control.TextArea;
import javafx.scene.web.WebEngine;
import javafx.scene.web.WebView;

public class NewWords {
    @FXML
    private WebView newWord;
    @FXML
    private void initialize(){
        WebEngine engine = newWord.getEngine();
        engine.loadContent("<html><body><h1>A Word</h1><p>一个单词</p></body></html>");
    }
}
